package com.small.os.minio.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * minio网盘配置
 * @author wangguochao
 */
@ConfigurationProperties(value = "minio")
@Data
public class MinioConfig {
    /**
     * 上传路径
     */
    public String url;
    /**
     * 公钥
     */
    public String accessKey;
    /**
     * 私钥
     */
    public String secretKey;
    /**
     * 桶名
     */
    public String bucketName ="img-library" ;
}
